<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>




<style>
    div {
        border: 1px solid black;
        background-color: lightpink;
        padding-top: 50px;
        padding-top: 30px;
        padding-top: 50px;
        padding-top: 80px;
    }
</style>


<body>
    <h1>使用单独的内边距属性</h1>

    <div>这个 div 元素的上内边距是 50px，右内边距是 30px
        下内边距是 50px，左内边距是 80px。</div>
</body>

</html>